package org.longsheng.learnspringboot.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author DingQiao
 */
@Data
@Component
public class AppConfig {

    @Value("${org.longsheng.title}")
    private String title;

    @Value("${org.longsheng.description}")
    private String description;
}
